package com.fhz.day005;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;

public class F2AActivity extends AppCompatActivity implements ShowFragment.MyListener {
    private TextView avTv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_f2_aactivity);

        avTv = (TextView) findViewById(R.id.av_tv);


    }


    @Override
    public void click(String s) {
        avTv.setText(s);
    }
}